//
//  XJ_NoticeTableViewCell.m
//  XunJieProject
//
//  Created by xue on 2018/6/8.
//  Copyright © 2018年 Soowin. All rights reserved.
//

#import "XJ_NoticeTableViewCell.h"

@implementation XJ_NoticeTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    _noticeView.layer.cornerRadius =4;
    _noticeView.layer.shadowColor = [UIColor grayColor].CGColor;
    _noticeView.layer.shadowOffset = CGSizeMake(4,4);
    _noticeView.layer.shadowOpacity = 0.1;
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setModel:(XJ_NoticeListModel *)model{
    
    _model =model;
    
    self.announceDateLabel.text =model.announceDate;
    self.announceTitleLabel.text =model.announceTitle;
    self.contentLabel.text =model.content;
}
@end
